package com.hk.security.weixin.cp;

import jakarta.servlet.http.HttpServletRequest;
import org.springframework.security.authentication.AuthenticationDetailsSource;


/**
 * @author kevin
 * @date 2019-7-18 18:01
 */
public class WeiXinCpAuthenticationDetailsSource
        implements AuthenticationDetailsSource<HttpServletRequest, WeixinCpAuthenticationDetails> {

    @Override
    public WeixinCpAuthenticationDetails buildDetails(HttpServletRequest context) {
        return new WeixinCpAuthenticationDetails(context);
    }
}
